{include file=member.header.html} 
<script>
$(function(){
	$('#deposit-recharge').submit(function(){
		if($(this).find('input[name="money"]').val()=='' || $(this).find('input[name="money"]').val() <= 0 || isNaN($(this).find('input[name="money"]').val())) {
			layer.open({content:'{$lang.recharge_money_error}', time: 5});
			return false;
		}
	});
})
</script>
<div class="deposit margin10">
	<div class="deposit-withdraw deposit-recharge">
		<div class="notice-word">
			<p>可以通过线上或线下为自己的账户充值，线下充值需要管理员审核</p>
		</div>
		<form method="post" id="deposit-recharge">
			<div class="title clearfix">
				<h2 class="float-left">充值到您的预存款账户</h2>
				<div class="float-right link"> <a class="add-bank" href="{url app=bank&act=add&type=debit}">添加银行卡</a> </div>
			</div>
			<div class="form">
				<dl class="recharge-type clearfix hidden">
					<dt class="mb10">充值方式</dt>
					<dd class="clearfix rebuildWrap" ectype="recharge-method">
						<div class="method-each">
							<div class="wrap">
								<div class="clearfix wrap-child rebuildInput">
									
									<label for="online_recharge">
									<div class="radio float-left">
										<input name="method" type="radio" value="online" checked="checked" id="online_recharge"/>
									</div>
									<div class="name float-left">线上充值</div>
									</label>
								</div>
							</div>
						</div>
					</dd>
				</dl>
				<dl class="bank-list clearfix" ectype="online">
					<dt class="mb10 hidden">充值渠道：</dt>
					<dd class="rebuildWrap">
						<ul class="ui-list-icons clearfix  rebuildInput">
							<!--{if !$isWeixin}-->
							<li class="clearfix">
								<input class="float-left" type="radio" name="payment_code" id="alipay_mobile" value="alipay_mobile" checked="checked" />
								<label class="float-left  icon-box current " for="alipay_mobile" > <span class="icon-cashier icon-cashier-alipay_mobile" title="{$lang.alipay_mobile}">&nbsp;</span> </label>
							</li>
							<!--{else}-->
							<li class="clearfix">
								<input class="float-left" type="radio" name="payment_code" id="wxpay" value="wxpay" />
								<label class="float-left  icon-box" for="wxpay" > <span class="icon-cashier icon-cashier-wxpay" title="{$lang.wxpay}">&nbsp;</span> </label>
							</li>
							<!--{/if}-->
						</ul>
					</dd>
				</dl>
				
				<dl class="clearfix">
					<dt>&nbsp;</dt>
					<dd>
						<input  placeholder="充值金额,单位元" type="text" name="money" class="input-s1" value="" />
					</dd>
				</dl>
				<dl class="clearfix">
					<dt>&nbsp;</dt>
					<dd>
						<input placeholder="充值备注" name="remark" class="input-s1"  type="text"/>
					</dd>
				</dl>
				<dl class="clearfix">
					<dt>&nbsp;</dt>
					<dd class="submit"><input class="btn-alipay" type="submit" value="下一步" /></dd>
				</dl>
			</div>
		</form>
	</div>
</div>
{include file=footer.html} 